<div class="_perinfo">
    <div class="logo">
        <div class="box">
            <img id="logo_file" src="{{loginer.logo||'/images/userhead.jpg'}}" />
            <div class="inbox">
                <button event-click="{{'$Event.file_btn_click'}}">更换头像</button>
                <input id="logofile" type="file" event-change="{{'$Event.user_logo_change'}}" style="display:none" />
            </div>
        </div>
    </div>
    {{#if !$Cache_unlock_change_info}}
    <div class="item">
        <div class="il">昵称</div>
        <div class="ir">
            {{loginer.nickname}}
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">手机</div>
        <div class="ir">
            {{loginer.phone}}
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">邮箱</div>
        <div class="ir">
            {{loginer.email}}
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">性别</div>
        <div class="ir">
            {{loginer.sex==1&&'男'||''}} {{loginer.sex==2&&'女'||''}}
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">学历</div>
        <div class="ir">
            {{loginer.education==1&&'小学'||''}} {{loginer.education==2&&'初中'||''}} {{loginer.education==3&&'高中'||''}} {{loginer.education==4&&'中专'||''}} {{loginer.education==5&&'大专'||''}} {{loginer.education==6&&'本科'||''}} {{loginer.education==7&&'硕士'||''}} {{loginer.education==8&&'博士'||''}}
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">地区</div>
        <div class="ir">
            {{loginer.address.province+","+loginer.address.city+loginer.address.area}}
        </div>
    </div>
    <div class="bottomline"></div>

    {{#else}}
    <div class="item">
        <div class="il">昵称</div>
        <div class="ir">
            <input type="text" bind-value="{{loginer.nickname}}" bind-input="{{'$Cache_nickname'}}" placeholder="请输入昵称" />
        </div>
    </div>
    <div class="bottomline"></div>

    <div class="item">
        <div class="il">手机</div>
        <div class="ir">
            <input type="text" bind-value="{{loginer.phone}}" bind-input="{{'$Cache_phone'}}" placeholder="请输入手机号" />
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">邮箱</div>
        <div class="ir">
            <input type="text" bind-value="{{loginer.email}}" bind-input="{{'$Cache_email'}}" placeholder="请输入邮箱" />
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">性别</div>
        <div class="ir">
            <select bind-input="{{'$Cache_sex'}}">
                <option>请选择</option>
                <option value="1" selected="{{loginer.sex==1}}">男</option>
                <option value="2" selected="{{loginer.sex==2}}">女</option>
            </select>
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">学历</div>
        <div class="ir">
            <select bind-input="{{'$Cache_education'}}">
                <option>请选择</option>
                <option value="1" selected="{{loginer.education==1}}">小学</option>
                <option value="2" selected="{{loginer.education==2}}">初中</option>
                <option value="3" selected="{{loginer.education==3}}">高中</option>
                <option value="4" selected="{{loginer.education==4}}">中专</option>
                <option value="5" selected="{{loginer.education==5}}">大专</option>
                <option value="6" selected="{{loginer.education==6}}">本科</option>
                <option value="7" selected="{{loginer.education==7}}">硕士</option>
                <option value="8" selected="{{loginer.education==8}}">博士</option>
            </select>
        </div>
    </div>
    <div class="bottomline"></div>
    <div class="item">
        <div class="il">地区</div>
        <div class="ir">
            <select event-change="{{'$Event.change_city_province'}}" bind-input="{{'$Cache_city_province'}}" name="province">
                {{#each $Cache_city_list}}
                <option bind-value="{{$Index}}">{{name}}</option>
                {{/each}}
            </select>
            <select event-change="{{'$Event.change_city_city'}}" bind-input="{{'$Cache_city_city'}}" name="city">
                {{#each $Cache_city_city_list}}
                <option bind-value="{{$Index}}">{{name}}</option>
                {{/each}}
            </select>
            {{#if $Cache_city_type}}
            <select name="area">
                {{#each $Cache_city_city_area_list}}
                <option>{{name}}</option>
                {{/each}}
            </select>
        </div>
    </div>
    <div class="bottomline"></div>
    {{/if}}
    <div class="item">
        <div class="il">注册时间</div>
        <div class="ir">{{loginer.createtime}}</div>
    </div>
    <div class="bottomline"></div>
    <div class="btnitem">
        <button event-click="{{'$Event.unlock_change_info'}}">{{$Cache_unlock_change_info&&'取消'||'修改'}}</button>
        {{#if $Cache_unlock_change_info}}
        <button event-click="{{'$Event.save_change_info'}}">保存</button>
        {{/if}}
    </div>
</div>
